package com.sys.service.impl;


import com.sys.entity.LiveCommerce;
import com.sys.mapper.LiveCommerceMapper;
import com.sys.service.LiveCommerceService;

import java.util.List;

public class LiveCommerceServiceImpl implements LiveCommerceService {
    LiveCommerceMapper liveCommerceMapper;

    @Override
    public List<LiveCommerce> selectAll() {
        return liveCommerceMapper.selectAll();
    }

    @Override
    public LiveCommerce getLiveCommerce(int id) {
        return liveCommerceMapper.getLiveCommerce(id);
    }

    @Override
    public int insert(LiveCommerce liveCommerce) {
        return liveCommerceMapper.insert(liveCommerce);
    }

    @Override
    public int delete(int id) {
        return liveCommerceMapper.delete(id);
    }
}
